package com.ayu.gulimall.product.service;

import com.ayu.common.utils.PageUtils;
import com.ayu.gulimall.product.vo.Catalog2VO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ayu.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ayu
 * @email ayu@gmail.com
 * @date 2021-02-09 10:01:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);


    List<CategoryEntity> initCateTree();

    void removeMenuByIds(List<Long> ids);

    List<CategoryEntity> getLevel1Categories();

    Map<String, List<Catalog2VO>> getLevel2Categories();
}

